package cn.yll.api.user.request;

import cn.yll.api.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author yangll
 */
@Data
@ApiModel("用户充值或消费请求实体")
public class UserCashRequest extends BaseRequest {

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("充值或消费金额 大于0代表充值否则消费 单位分")
    private Integer cash;

    @ApiModelProperty("是否是支付请求 false充值 ture支付")
    private boolean isPay;
}
